package com.schoolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * Copyright(C),2019-2025，XX公司
 * FileName:TblSchoolSetClassInfo
 * Author:bobby
 * 创建时间：2025/9/23 10:29
 * Description:班级信息实体
 * History:
 * <auth>        <time>       <version>       <desc>
 * 作者          修改时间       版本号         描述
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_school_set_class_info")
@Schema(name = "班级信息对象", description = "班级信息实体")
public class SchoolSetClassInfo implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "班级id")
    private String id;

    @Schema(description = "班级创建年份")
    private int classYear;

    @Schema(description = "班级名称")
    private String className;

    @Schema(description = "创建年份")
    private Date createdTime;

    @Schema(description = "修改年份")
    private Date updatedTime;

    @Schema(description = "删除年份")
    private Date deletedTime;
}
